package com.leyou.item.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "tb_spec_group")   //指定对应映射的数据表
@Data
public class SpecGroup {
    @Id  //主键
    @KeySql(useGeneratedKeys = true)  //主键回显
    private Long id;

    private Long cid;

    private String name;

    private Date createTime;

    private Date updateTime;
}
